import {createRouter, createWebHistory} from 'vue-router'

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/login',
            name: 'Login',
            component: () => import('../components/Login.vue')
        },
        {
            path: '/index',
            name: 'Index',
            component: () => import('../components/Index.vue')
        },
        ]
})

export default router
